package com.bt.lms.ui.action.teaching.plan;

import com.bt.lms.ui.page.common.action.pageteaching.TeachingPlanLabAction;
import com.bt.lms.ui.page.teaching.plan.PageTeachingPlanBasicInfoList;
import javafx.event.Event;
import javafx.event.EventHandler;
import javafx.scene.layout.Pane;

/**
 * 教学计划
 * 列表   编辑
 * 关联课程  第二步
 * 保存按钮事件
 */
public class LEditRelevanceCourseSaveAction implements EventHandler {
    @Override
    public void handle(Event event) {
        PageTeachingPlanBasicInfoList pageTeachingPlanBasicInfo = new PageTeachingPlanBasicInfoList();
        Pane pane = TeachingPlanLabAction.pageSkipInfo.getPane();
        Integer index = TeachingPlanLabAction.pageSkipInfo.getIndex();
        pane.getChildren().set(index,pageTeachingPlanBasicInfo);
    }
}
